home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1810 / 1810.xpi / chrome / showcase.jar / content / settings / pref-sidebar.xul < prev    next >
Extensible Markup Language  |  2010-01-17  |  5KB  |  78 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % dialogDTD SYSTEM "chrome://showcase/locale/pref-showcase.dtd" >
  5. %dialogDTD;
  6. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
  7. %tabBrowserDTD;
  8. ]>
  9.  
  10. <overlay id="SidebarPaneOverlay"
  11.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12.  
  13.   <prefpane id="paneSidebar" label="&tab.sidebar;" onpaneload="sidebarPrefInit();">
  14.     <script type="application/x-javascript" src="pref-sidebar.js" />
  15.     <preferences>
  16.       <preference id="pref-sidebarCloseWhenSelect" name="extensions.showcase.sidebarCloseWhenSelect" type="bool"/>
  17.       <preference id="pref-sidebarCustomColors" name="extensions.showcase.sidebarCustomColors" type="bool"/>
  18.       <preference id="pref-sidebarCustomBackgroundColor" name="extensions.showcase.sidebarCustomBackgroundColor" type="string"/>
  19.       <preference id="pref-sidebarShowTitleStats" name="extensions.showcase.sidebarShowTitleStats" type="bool"/>
  20.       <preference id="pref-sidebarScrollType" name="extensions.showcase.sidebarScrollType" type="int"/>
  21.       <preference id="pref-sidebarThumbnailPreferredMinimumSize" name="extensions.showcase.sidebarThumbnailPreferredMinimumSize" type="int"/>
  22.       <preference id="pref-sidebarShowOnlyCurrentByDefault" name="extensions.showcase.sidebarShowOnlyCurrentByDefault" type="bool"/>
  23.       <preference id="pref-sidebarSelectWhenMouseOver" name="extensions.showcase.sidebarSelectWhenMouseOver" type="bool"/>
  24.       <preference id="pref-sidebarHideTabBar" name="extensions.showcase.sidebarHideTabBar" type="bool"/>
  25.       <preference id="pref-sidebarAlwaysShowScrollbar" name="extensions.showcase.sidebarAlwaysShowScrollbar" type="bool"/>
  26.     </preferences>
  27.         <groupbox>
  28.         <caption label="&scrolling.caption;"/>
  29.           <hbox align="center">
  30.             <label id="sidebarScrollTypeLabel" value="&scrollType.label;" control="sidebarScrollType" />
  31.             <menulist flex="0" id="sidebarScrollType" preference="pref-sidebarScrollType" oncommand="sidebarScrollTypeChanged();">
  32.               <menupopup>
  33.                 <menuitem value="0" label="&scrolling.none;" />
  34.                 <menuitem value="1" label="&scrolling.vertical;" />
  35.                 <menuitem value="2" label="&scrolling.horizontal;" />
  36.               </menupopup>
  37.             </menulist>
  38.             <spacer flex="1" />
  39.           </hbox>
  40.           <hbox align="center" style="margin-left: 2em;">
  41.             <label value="&thumbnailPreferredMinimumSize.label;" id="sidebarThumbnailPreferredMinimumSizeLabel" flex="0" style="vertical-align: middle;"/>
  42.             <textbox id="sidebarThumbnailPreferredMinimumSize" size="4" preference="pref-sidebarThumbnailPreferredMinimumSize" />
  43.             <label value="&pixels.label;" id="sidebarThumbnailPreferredMinimumSizePixelsLabel" />
  44.             <spacer flex="1" />
  45.           </hbox>
  46.           <vbox align="start" style="margin-left: 2em;">
  47.             <checkbox id="sidebarAlwaysShowScrollbar" flex="0" label="&alwaysShowScrollbar.label;" preference="pref-sidebarAlwaysShowScrollbar"/>
  48.           </vbox>
  49.         </groupbox>
  50.         <groupbox>
  51.         <caption label="&options.caption;"/>
  52.           <vbox align="start">
  53.             <checkbox id="sidebarCustomColors" flex="0" label="&sidebarCustomColors.label;" preference="pref-sidebarCustomColors"  oncommand="sidebarCustomColorsChanged();"/>
  54.           </vbox>
  55.           <hbox style="margin-left: 2em; -moz-box-align: center;">
  56.             <label value="&sidebarCustomBackgroundColor.label;" id="sidebarCustomBackgroundColorLabel"/>
  57.             <colorpicker type="button" id="sidebarCustomBackgroundColor" palettename="standard" preference="pref-sidebarCustomBackgroundColor"/>
  58.             <spacer flex="1" />
  59.           </hbox>
  60.           <vbox align="start">
  61.             <checkbox id="sidebarCloseWhenSelect" flex="0" label="&sidebarCloseWhenSelect.label;" preference="pref-sidebarCloseWhenSelect" />
  62.           </vbox>
  63.           <vbox align="start">
  64.             <checkbox id="sidebarShowTitleStats" flex="0" label="&sidebarShowTitleStats.label;" preference="pref-sidebarShowTitleStats" />
  65.           </vbox>
  66.           <vbox align="start">
  67.             <checkbox id="sidebarShowOnlyCurrentByDefault" flex="0" label="&sidebarShowOnlyCurrentByDefault.label;" preference="pref-sidebarShowOnlyCurrentByDefault" />
  68.           </vbox>
  69.           <vbox align="start">
  70.             <checkbox id="sidebarSelectWhenMouseOver" flex="0" label="&sidebarSelectWhenMouseOver.label;" preference="pref-sidebarSelectWhenMouseOver" />
  71.           </vbox>
  72.           <vbox align="start">
  73.             <checkbox id="sidebarHideTabBar" flex="0" label="&sidebarHideTabBar.label;" preference="pref-sidebarHideTabBar" />
  74.           </vbox>
  75.         </groupbox>
  76.   </prefpane>
  77.  
  78. </overlay>